package cn.itcast.tanhua.mytanhuadubbointerface.api;

import cn.itcast.tanhua.vo.PageResult;
import cn.itcast.tanhua.vo.QuanZiVo;

import java.util.List;

/**
 * @author 郭文亮
 * @since 2021/12/6 15:46
 */
public interface QuanziSearchApi {
    boolean synchroEsData(List<QuanZiVo> quanziList) throws Exception;

    PageResult queryQuanziByKeyword(Integer page, Integer pageSize, String keyword) throws  Exception;
}
